package com.design03_behavioral.pattern14_template.example02;

/**
 * @ClassName LoanSevenDays
 * @Description TODO
 * @Author zhangjunhao
 * @DATE 2023/9/7 0:05
 */
public class LoanSevenDays extends Account  {
    @Override
    public void calculate() {

        System.out.println("借款周期7天,无利息!仅收取贷款金额1%的 服务费!");

    }

    @Override
    public void display() {
        System.out.println("七日内借款无利息!");
    }
}
